.card-modern {
    background-color: #0a0a0a;
    color: #f0f0f0;
    font-family: "Inter", "Helvetica Neue", sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 0;
    padding: 2.5rem;
    margin: 1rem;
    line-height: 1.8;
    position: relative;
    border: 1px solid #d4af37;
    overflow: hidden;
  }
  
  .card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #d4af37, #f5e887, #d4af37);
  }
  
  .card-modern::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: linear-gradient(45deg, #d4af37 25%, transparent 25%),
                      linear-gradient(-45deg, #d4af37 25%, transparent 25%);
    background-size: 60px 60px;
    background-position: 0 0, 0 0;
    opacity: 0.03;
    z-index: 1;
  }
  
  .card-modern h1,
  .card-modern h2,
  .card-modern h3 {
    color: #d4af37;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    text-align: center;
    position: relative;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
  }
  
  .card-modern h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    padding-bottom: 1rem;
  }
  
  .card-modern h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
  }
  
  .card-modern h3 {
    font-size: 1.5rem;
  }
  
  .card-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem auto;
    display: block;
    border: 1px solid #d4af37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
  }
  
  .card-modern pre {
    background-color: #1a1a1a;
    padding: 1.2rem;
    border-radius: 4px;
    overflow-x: auto;
    border-left: 4px solid #d4af37;
    margin: 1.5rem 0;
  }
  
  .card-modern code {
    font-family: "Fira Code", monospace;
    background-color: #1a1a1a;
    color: #d4af37;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
  }
  
  .card-modern blockquote {
    border-left: 4px solid #d4af37;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #f0f0f0;
    background-color: rgba(212, 175, 55, 0.05);
    font-style: italic;
  }
  
  .card-modern table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
  }
  
  .card-modern table th,
  .card-modern table td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
  }
  
  .card-modern table th {
    background-color: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    font-weight: 600;
  }
  
  .card-modern table tr:nth-child(even) {
    background-color: rgba(26, 26, 26, 0.7);
  }
  
  .card-modern ul,
  .card-modern ol {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    list-style-type: none;
  }
  
  .card-modern ul li,
  .card-modern ol li {
    margin-bottom: 0.75rem;
    position: relative;
  }
  
  .card-modern ol li {
    counter-increment: item;
    padding-left: 2rem;
  }
  
  .card-modern ol li::before {
    content: attr(data-index);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #d4af37;
    color: #0a0a0a;
    border-radius: 2px;
    font-weight: bold;
    font-size: 0.8rem;
  }
  
  .card-modern ul li::before {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #d4af37;
    transform: rotate(45deg);
  }
  
  .card-modern a {
    color: #d4af37;
    text-decoration: none;
    border-bottom: 1px dotted #d4af37;
    transition: all 0.2s ease;
  }
  
  .card-modern a:hover {
    border-bottom: 1px solid #d4af37;
    background-color: rgba(212, 175, 55, 0.05);
  }
  
  .card-modern hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 2rem 0;
  }